package com.market.dao;

import java.util.List;

import javax.persistence.Query;

import com.market.domain.Picture;

public interface PictureDao extends GenericDao<Picture, Long> {
	
	public List<Picture> findAllRecycled() ;
	
	public List<Picture> findAllNotRecycled();
	
	
	/**
	 * This method return all pictures that was set as home  page picture;
	 * @return
	 */
	public List<Picture> findAllHomePagePictures();
	
	
	/**
	 * This method load all pictures of specific year
	 */
	public List<Picture> findPictureByYear(String year);
}
